package service.impl;

import java.util.List;

import dao.MemTypeDao;
import dao.impl.MemTypeDaoImpl;
import entity.MemType;
import service.MemTypeService;

public class MemTypeServiceImpl implements MemTypeService{

	MemTypeDao dao = new MemTypeDaoImpl();
	
	@Override
	public boolean save(MemType type) {
		return dao.insert(type);
	}

	@Override
	public List<MemType> getAll() {
		return dao.selectAll();
	}

}
